﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

using Ordinaire.Commerce.Db;
using Ordinaire.Commerce.Purchasing.Db;

namespace Ordinaire.Commerce.Purchasing.Db
{
    /// <summary>
    /// Provides partial database components to be built.
    /// </summary>
    [Export(typeof(IDatabasePart))]
    public class PDatabasePart : DatabasePartHelper
    {
        /// <summary>
        /// Returns the DataContext type used by current library.
        /// </summary>
        public override Type Type
        {
            get { return typeof(PContext); }
        }
    }
}
